package com.baiyang.server;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class Log4jTest {
    private static final Logger logger = LogManager.getLogger(Log4jTest.class);

    public static void main(String[] args) {
        String request = "${java:os}";
        //String request = "${java:hw}";
        logger.error(request);

    }
}
